import Cookies from 'js-cookie'
// 设置键名
const TokenKey = 'vue-lianxi'
// 取token值
export function getToken() {
  return Cookies.get(TokenKey)
}
// 存token
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}
// 删除token
export function removeToken() {
  return Cookies.remove(TokenKey)
}
